package _作业.Thread;

public class Test05 {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                int sum = 0;
                for (int i = 1; i <= 500; i++) {

                    sum += i;

                }
                System.out.println(sum);
            }
        }).start();
    }
}
